// ============================================================================
//
// Copyright (C) 2006-2007 Dengues
//
// Google Group: http://groups.google.com/group/dengues
//
// QQ Group: 24885404
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// ============================================================================
package org.dengues.warehouse.viewers.csv;

import org.dengues.core.warehouse.ENodeCategoryName;
import org.dengues.model.database.DatabaseDiagram;
import org.dengues.warehouse.viewers.wizards.AbstractElementWizard;
import org.dengues.warehouse.viewers.wizards.NewElementWizardPage2;
import org.dengues.warehouse.viewers.wizards.NewElementWizardPage3;
import org.eclipse.core.runtime.IPath;

/**
 * Qiang.Zhang.Adolf@gmail.com class global comment. Detailled comment <br/>
 * 
 * $Id: Dengues.epf Qiang.Zhang.Adolf@gmail.com 2008-7-4 qiang.zhang $
 * 
 */
public class NewCSVFileWizard extends AbstractElementWizard {

    /**
     * Qiang.Zhang.Adolf@gmail.com NewCSVFileWizard constructor comment.
     * 
     * @param database
     * @param path
     * @param isActived
     */
    public NewCSVFileWizard(DatabaseDiagram database, IPath path, boolean isActived) {
        super(database, path, isActived, ENodeCategoryName.CSVFILE);
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.dengues.warehouse.viewers.wizards.AbstractElementWizard#newElementWizardPage2(org.eclipse.core.runtime.IPath,
     * org.dengues.model.database.DatabaseDiagram)
     */
    @Override
    protected NewElementWizardPage2 newElementWizardPage2(IPath path2, DatabaseDiagram database, ENodeCategoryName name) {
        return new NewCSVWizardPage2(path2, database, name);
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.dengues.warehouse.viewers.wizards.AbstractElementWizard#newElementWizardPage3(org.eclipse.core.runtime.IPath,
     * org.dengues.model.database.DatabaseDiagram)
     */
    @Override
    protected NewElementWizardPage3 newElementWizardPage3(IPath path2, DatabaseDiagram database, ENodeCategoryName name) {
        return new NewCSVWizardPage3(path2, database, name);
    }

}
